package ru.vsu.cs.brainsaver.game;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.view.View;
import android.widget.Button;

public class AboutView extends View
{
	private final Paint cPaint;
		
	public AboutView(Context context) {
		super(context);
		setBackgroundResource(R.drawable.background);
		cPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
		cPaint.setStyle(Paint.Style.STROKE);
		cPaint.setColor(Color.LTGRAY);
		
		//cPaint.setStrokeWidth(3);
	}
	
	@Override
	protected void onDraw(Canvas canvas) 
	{
		canvas.drawText("BrainSaver (c) Alexandr Strelcov & Victory Shilnikova, 2011", getWidth()/4, getHeight()/2, cPaint);
	 
	}

}
